/**
*  fn_airStrike
*
*  Calls CAS jet to attack passed location
*
*  Domain: Server
**/
params ["_player", "_targetPos"];

//"Fire" remoteExec ["playMusic", east];

[ [format ["导弹支援: 正在路上！预计20S后到达坐标点%1。", mapGridPosition _targetPos], "PLAIN"] ] remoteExec ["TitleText", east];//
_make = createMarker [format ["CAS_%1", time/60], _targetPos];
_make setMarkerType "hd_objective";
_make setMarkerSize [.8,.8];
_make setMarkerText format ["CAS (%1)", name _player];
_make setMarkerColor "ColorRed";

//绿军隐藏标记
[_make, 0] remoteExec ['setMarkerAlphaLocal', resistance];

sleep 40;
deleteMarker _make;